[xenstored] Fix error path when xc_map_foreign_range fails.
authorChristian Limpach <Christian.Limpach@xensource.com>
Fri, 2 Mar 2007 11:25:12 +0000 (11:25 +0000)
committerChristian Limpach <Christian.Limpach@xensource.com>
Fri, 2 Mar 2007 11:25:12 +0000 (11:25 +0000)
commitf67b5ead2907df7828ab87144d403a376d4dd4e3
treee7dab3a9f0a664f646b6f27966c3fb881048968a
parent06cffd6c175ab6fdaac10a0f0af067cb20eb92ec
[xenstored] Fix error path when xc_map_foreign_range fails.
If xc_map_foreign_range fails, the new domain object is freed,
but it is not removed from the connection list.

Signed-off-by: Christian Limpach <Christian.Limpach@xensource.com>
tools/xenstore/xenstored_domain.c